//
//  StudentDaoImpl.h
//  数据访问对象模式
//
//  Created by flannery on 2018/12/18.
//  Copyright © 2018年 flannery. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Student.h"


@protocol StudentDao <NSObject>
-(NSArray*)getAllStudents;
-(Student*)getStudent:(int)rollNo;
-(void)updateStudent:(Student*)student;
-(void)deleteStudent:(Student*)student;
@end

@interface StudentDaoImpl : NSObject <StudentDao>

@end
